<h1>New food_item</h1>

<%= error_messages_for :food_item %>

<% form_for(@food_item) do |f| %>
  <p>
      <b>Name:</b>
    <%= f.text_field :name %>
  </p>
  <p>
      <b>Price:</b>
    <%= f.text_field :price %>
  </p>
  <p>
    <%= f.submit "Create" %>
  </p>
<% end %>

<%= link_to 'Back', food_items_path %>
